package anc.server.tankshooter.models;

public class Statistic extends DbEntity {

	private int mStatisticId;
	private int mMatchId;
	private int mAccountId;
	private int mScore;
	private boolean mIsWinner;
	
	@Override
	public void resetFields() {
		setIsWinner(false);
	}

	public int getStatisticId() {
		return mStatisticId;
	}

	public void setStatisticId(int mStatisticId) {
		this.mStatisticId = mStatisticId;
	}

	public int getMatchId() {
		return mMatchId;
	}

	public void setMatchId(int mMatchId) {
		this.mMatchId = mMatchId;
	}

	public int getAccountId() {
		return mAccountId;
	}

	public void setAccountId(int mAccountId) {
		this.mAccountId = mAccountId;
	}

	public boolean isIsWinner() {
		return mIsWinner;
	}

	public void setIsWinner(boolean mIsWinner) {
		this.mIsWinner = mIsWinner;
	}

	public int getScore() {
		return mScore;
	}

	public void setScore(int mScore) {
		this.mScore = mScore;
	}
}
